/*
package com.example.demo.commons.core.robot;

import com.github.benmanes.caffeine.cache.Cache;
import com.github.benmanes.caffeine.cache.Caffeine;

import java.util.concurrent.TimeUnit;

public class WXRobotHandler {

    private static final Cache<String, WxRobotHelper> WX_ROBOT_CACHE = Caffeine.newBuilder()
            .expireAfterAccess(30, TimeUnit.MINUTES)
            .maximumSize(100L)
            .build();

    public static WxRobotHelper getInstance(String key) {
        return WX_ROBOT_CACHE.get(key, k -> new WxRobotHelper(key));
    }
}
*/
